<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>

        .pagination{
            list-style: none;
            padding: 0px;
            margin: 0px;
            alignment: center;
        }

        .pagination li{

            display: inline-block;
            padding: 3px;
        }
    </style>
</head>
<body>


<table border="1px solid #ccc" width="800px" align="center">
    <tr>
        <th>id</th>
        <th>姓名</th>
        <th>年龄</th>
        <th>价格</th>
        <th>性别</th>
        <th>日期</th>
    </tr>

    {volist name='list' id='obj'}
    <tr>
        <td>{$obj->id}</td>
        <td>{$obj->name}</td>
        <td>{$obj->age}</td>
        <td>{$obj->price}</td>
        <td>{$obj->sex}</td>
        <td>{$obj->create_time}</td>
    </tr>

    {/volist}
</table>

{$list|raw}
</body>
</html>